<!--<?php
# MetInfo Enterprise Content Management System 
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved.  
require_once template('head');
if($readok=="" && $langnow==""){
   $style1="style='color:#FF0000'";
 }elseif($readok==0  && $langnow==""){
   $style2="style='color:#FF0000'";
 }elseif($readok==1){
   $style3="style='color:#FF0000'";
  }elseif($langnow=="cn"){
   $style4="style='color:#FF0000'";
 }
 elseif($langnow=="en"){
   $style5="style='color:#FF0000'";
 }
 elseif($langnow=="other"){
   $style6="style='color:#FF0000'";
 }
echo <<<EOT
-->
<title>{$lang_feedbackTitle}</title>
</head>
<body>
<br>
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="table_list1">
          <tr> 
            <td colspan="7" align="center" class="list1_title">{$lang_feedbackTitle}</td>
          </tr>
      <tr>
     <td class="list1_input list9" colspan="6" align="left">{$lang_feedbackClass}:
	 <a href="index.php?search=$search&useinfo=$useinfo&lang=$lang"  $style1>{$lang_feedbackClass1}</a> |
	 <a href="index.php?search=$search&readok=0&useinfo=$useinfo&lang=$lang" $style2 >{$lang_feedbackClass2}</a> |
	 <a href="index.php?search=$search&readok=1&useinfo=$useinfo&lang=$lang" $style3 >{$lang_feedbackClass3}</a>
</td> 
     <td align="left" class="list1_input">
         <script language="JavaScript">
            function MM_jumpMenu(selObj){ 
			var url=selObj.options[selObj.selectedIndex].value; 
            location.href=url;
            }
          </script>
<select name="met_fd_class" style="float:right;" onChange="MM_jumpMenu(this)">
<option value="index.php?lang=$lang&search=$search&readok=$readok&useinfo=$useinfo&met_fd_classname=">{$lang_feedbackShowAll}</option>
<!--
EOT;
foreach ($selectlist as $key=>$val){
if($met_fd_classname==$val['info']){
echo <<<EOT
-->
<option value="index.php?lang=$lang&search=$search&readok=$readok&useinfo=$useinfo&met_fd_classname=$val[info]" selected="selected">$val[info]</option>
<!--
EOT;
}else{
echo <<<EOT
-->
<option value="index.php?lang=$lang&search=$search&readok=$readok&useinfo=$useinfo&met_fd_classname=$val[info]">$val[info]</option>
<!--
EOT;
}}
echo <<<EOT
-->
</select></td>
      </tr>
              <tr>
                <td width="5%" class="list1_top" align="center">{$lang_selected}</td>
				<td width="5%" class="list1_top" align="center">ID</td>
                <td width="40%" class="list1_top" align="center">{$lang_title}</td>
				<td width="5%" class="list1_top" align="center" >{$lang_read}</td>
                <td width="15%" class="list1_top" align="center" >{$lang_feedbackID}</td>
                <td width="20%" class="list1_top" align="center" >{$lang_feedbackTime}</td>
				<td width="10%" class="list1_top" align="center" >{$lang_operate}</td>
              </tr>
			  <form name="del" method="Post" action="delete.php?lang=$lang" onSubmit="return ConfirmDelall();">
<!--
EOT;
foreach ($feedback_list as $key=>$val){
echo <<<EOT
-->          
              <tr>
              <td class="list1_content_titile" align="center"><input name='id' type='checkbox' onClick="unselectall()" id="id" value='$val[id]' class="xz"></td>
                <td class="list1_content" align="center">$val[id]</td>
			    <td align="left" class="list1_content"><a href="editor.php?id=$val[id]&lang=$lang" title="{$lang_detail}">$val[fdtitle]</a></td>
                <td class="list1_content" align="center">$val[readok]</td>
				<td class="list1_content" align="center">$val[customerid]</td>
                <td class="list1_content" align="center">$val[addtime]</td>
				<td align="center" class="list1_content" style="color:#0066FF;"></a> <a href="editor.php?id=$val[id]&lang=$lang" >{$lang_editor}</a> | <a href="delete.php?id=$val[id]&lang=$lang" onClick="return ConfirmDel();" >{$lang_delete}</a></td>
              </tr>
<!--
EOT;
}
echo <<<EOT
-->
       
  
   	   <tr> 
            <td align="center"  class="input_bottom"><input name="chkAll" class="xz" type="checkbox" id="chkAll" onclick=CheckAll(this.form) value="checkbox"></td>
            <td align="center"  class="input_bottom">{$lang_selectall}</td> 
            <td align="left"  class="input_bottom" colspan="5"><input name="submit" type='submit' value='{$lang_deleteselected}'><input name="action" type="hidden" id="action" value="del"><input name="allid" type="hidden" id="allid" value=""></form></td>
          </tr>
		  <tr>
            <td colspan="7" align="left" class="input_search">
			<form method="POST" name="myform"  action="index.php?search=detail_search&lang=$lang" target="_self">
			       <span><b>{$lang_search}</b></span>
			    <input name="useinfo" type="text" size="30">
  <input type="submit" name="Submit2" value="{$lang_search}" class="tj">  
	        {$lang_feedbackTip1}</form></td>
          </tr>
	   <tr >
            <td  colspan="7" align="left" class="input_search">
			<form method="POST" name="exportform"  action="export.php?lang=$lang" target="_self">
			       <span><b>{$lang_feedbackTip2}</b> </span>
				   {$lang_feedbackTip3}
				   <select name="met_fd_export" >
				   <option value="-1">{$lang_feedbackTip4}</option>
<!--
EOT;

foreach ($selectlist as $key=>$val){
echo <<<EOT
-->
				   
					<option value="$val[info]">$val[info]</option>
<!--
EOT;
}
echo <<<EOT
-->
					</select>				   
					<input name="submit" type='submit' value='{$lang_feedbackExport}'>
			</form>
			</td>
          </tr>
   	   <tr>
   	     <td class="list1_input" colspan="7" align="center">$page_list</td>
        </tr>
		<tr>
		  <td class="list1_footer" colspan="6" align="center">$foot</td>
	  </tr>
</table>
</body>
</html>
<!--
EOT;
# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved.
?>-->